package com.wx.javacode.extend_;

/**
 * ClassName:Extends01
 * Package :com.wx.javacode.extend_
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/17 - 9:34
 */
public class Extends01 {
    public static void main(String[] args) {
        Pupil pupil = new Pupil();
        pupil.name = "二明";
        pupil.age = 18;
        pupil.score = 80;
        pupil.testing();
        pupil.showInfo();
        Graduate graduate = new Graduate();
        graduate.name = "大明";
        graduate.age = 18;
        graduate.score = 80;
        graduate.showInfo();
    }
}
